import type { InjectionKey } from 'vue'
import { reactive } from 'vue'

// 获取类型
import type {
  IStore
} from '../types/type'

// 返回状态容器
export const store: IStore =  reactive({}) // _stateList {} //

// provide 的标记，全局状态用
export const _storeFlag = Symbol('__nf-state__') as InjectionKey<IStore>